package edu.calpoly.android.echoes;

import java.util.ArrayList;

import android.app.Activity;
import android.os.Bundle;

public class DataInterlace extends Activity {
	
	/**
	 * Database of Saves the user can view, add to, and remove from.
	 */
	protected ShapeDBAdapter m_saveDB;
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		m_saveDB = new ShapeDBAdapter(this);
		m_saveDB.open();
	}
	
	public long saveShape(MyDrawableShapes mds) {
		return m_saveDB.insertShape(mds);
	}
	
	public ArrayList<MyDrawableShapes> getAllShapes() {
		return getAllShapes();
	}

}
